package van.planifolia.factory.abstractfactory;

/**
 * Created by Intellij IDEA<br>
 *
 * @author Planifolia.Van
 * @version 1.0
 * @date 2022/11/8 18:08
 */
public interface Screen {
    void makeScreen();
}
class ScreenA implements Screen {
    @Override
    public void makeScreen() {
        System.out.println("制作了屏幕a");
    }
}
class ScreenB implements Screen {
    @Override
    public void makeScreen() {
        System.out.println("制作了屏幕B");
    }
}
